const state = {
	useName: "joker",
	edit_obj: {}, // 编辑文档页面，操作对象
	active_menu_application:null,  // 应用管理模块当前激活导航
	// 导航数组
	menuList: [
		{
			txt: "应用管理",
			name:"siteManage",
			path: "siteManage",
			icon: "el-icon-location",
			key: 1001,
			jurisdiction: 1, // 权限等级
			state: false, // 当前是否选中
			grade: 1, // 层级
			children: [] // 子级导航
		},
		{
			txt: "栏目管理",
			name:"serviceManage",
			path: "serviceManage",
			icon: "el-icon-s-custom",
			key: 1009,
			jurisdiction: 1, // 权限等级
			state: false, // 当前是否选中
			grade: 1, // 层级
			children: [] // 子级导航
		},
		{
			txt: "事件管理",
			name:"eventManage",
			path: "eventManage",
			icon: "el-icon-document",
			key: 1002,
			jurisdiction: 1, // 权限等级
			state: false, // 当前是否选中
			grade: 1, // 层级
			children: [] // 子级导航
		},
		{
			txt: "属性管理",
			name:"attributeManage",
			path: "attributeManage",
			icon: "el-icon-info",
			key: 1003,
			jurisdiction: 1, // 权限等级
			state: false, // 当前是否选中
			grade: 1, // 层级
			children: [] // 子级导航
		},
		{
			txt: "字典管理",
			name:"dictionaryManage",
			path: "dictionaryManage",
			icon: "el-icon-notebook-1",
			key: 1004,
			jurisdiction: 1, // 权限等级
			state: false, // 当前是否选中
			grade: 1, // 层级
			children: [] // 子级导航
		},
		{
			txt: "文档管理",
			name:"documentManage",
			path: "documentManage",
			icon: "el-icon-reading",
			key: 1006,
			jurisdiction: 1, // 权限等级
			state: false, // 当前是否选中
			grade: 1, // 层级
			children: [] // 子级导航
		}
	]
};
const mutations = {
	active_menu_application_change(state,value){
		state.active_menu_application = value;
	},
	menuList_change(state, value) {
		state.menuList = value;
	},
	edit_obj_change(state, value) {
		state.edit_obj = value;
	},
};
const actions = {};
const getters = {};

export default {
	state,
	mutations,
	actions,
	getters
};
